# -*- coding: iso-8859-2 -*-

class Editor:
    '''Interface for class editing messages
    '''
    
    def editMessages(self, messages):
        '''Perform filtering/mapping messages in message list'''
        for message in messages:
            if not self.editMessage(message):
                pass
#                messages.remove(message)
    
    def editMessage(self, message):
        '''Perform filtering/mapping messages in a single message
        @return bool: if message valid'''
        pass
    
if __name__ == "__main__":
    from authorshipanalyzer.textmodifier.filter import EncodingFilter
    print str(EncodingFilter())